package com.swyc.osschat.Test.designMode.decorate.strategy;

import com.swyc.osschat.Test.designMode.decorate.base.Dog;

/**
 * @description 具体构件
 * @Author: z156940l@outlook.com
 * @className DogImpl
 * @Date: 2022/6/27 15:15
 */
public class DogImpl implements Dog {
    @Override
    public void function() {
        System.out.println("狗：吃饭和睡觉");
    }
}
